<template>
  <div id="app">
    <button @click="handleMsg">toast</button>
    <Test />
  </div>
</template>

<script>
import Test from "./components/test.vue";
export default {
  name: "App",
  data() {
    return {};
  },
  components: { Test },
  mounted() {
    console.log("----->", Test);
  },
  methods: {
    handleMsg() {
      this.$Toast("cehsi----");
    },
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
